{include file=$header}
<div id="content">
{if $smarty.session.logged eq 1}
 <h2>Editar contato</h2>
 <form id="formEditContato" method="post">
  <div class="form_settings">
   <p><span>Nome:</span><input type="text" name="name" class="validate[required]" placeholder="Nome" value="{$nome}"/></p>
   <p><span>Celular:</span><input type="tel" name="cel" id="cel"
   placeholder="Celular (xx) xxxx-xxxx" value="{$cel}"/></p>
   <p><span>Telefone:</span><input type="tel" name="tel" id="tel" 
   placeholder="Telefone (xx) xxxx-xxxx" value="{$tel}"/></p>
   <p><span>Email:</span><input type="email" class="validate[custom[email]]" 
   name="email" placeholder="Email" value="{$email}"/></p>
   <p><span>Twitter:</span><input type="text" name="twitter" placeholder="Twitter" value="{$twitter}"/></p>
   <p style="padding-top: 15px"><span>&nbsp;</span><input class="submit" type="submit"
   name="salvar" value="salvar" /></p>
  </div>
 </form>
 <p>{$msgEdit}</p>
{else}
 <p>{$msgFailEdit}</p>
{/if}
{include file=$footer}